﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SalesTaxes
{
    public class Tax
    {
        private readonly string _taxName;
        public string TaxName
        {
            get { return _taxName; }
        }

        private readonly double _taxRate;

        public double TaxRate
        {
            get { return _taxRate; }
        }

        public Tax()
        {
            _taxName = "Basic Sales Tax";
            _taxRate = 0.1f;
        }

        public Tax(string taxName, double rate)
        {
            _taxName = taxName;
            _taxRate = rate;
        }
    }
}
